<h1>Listing notice_boards</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Description</th>
  </tr>

<% @notice_boards.each do |notice_board| %>
  <tr>
    <td><%=h notice_board.title %></td>
    <td><%=h notice_board.description %></td>
    <td><%= link_to 'Show', notice_board %></td>
    <td><%= link_to 'Edit', edit_notice_board_path(notice_board) %></td>
    <td><%= link_to 'Destroy', notice_board, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New notice_board', new_notice_board_path %>